package com.huawei.appgallery.agwebview.api.view;

import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;

public class SecureWebView extends WebView {
    public SecureWebView(Context context) {
        super(context);
    }

    public SecureWebView(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    public SecureWebView(Context context, AttributeSet attributeSet, int i) {
        super(context, attributeSet, i);
    }

    public void addJavascriptInterface(Object obj, String str) {
        super.addJavascriptInterface(obj, str);
        ˏ();
    }

    private void ˏ() {
        removeJavascriptInterface("accessibility");
        removeJavascriptInterface("accessibilityTraversal");
        removeJavascriptInterface("searchBoxJavaBridge_");
    }
}
